package com.spc.car.data.mapper.sys;

import com.spc.car.data.domain.sys.vo.SysCalendarListVO;
import com.spc.car.data.entity.sys.SysCalendar;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 日程表 Mapper 接口
 * </p>
 *
 * @author 
 * @since 2020-03-27
 */
public interface SysCalendarMapper extends BaseMapper<SysCalendar> {

    List<SysCalendarListVO> selectCalendar();

    List<SysCalendar> selectCalendarByDate(@Param("userId") long userId , @Param("startDate") String startDate , @Param("endDate") String endDate );

}
